package org.example.huadianguanli.model;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import org.example.core.annotation.Field;
import org.example.core.model.SimpleModel;
import org.example.core.mysql.convert.JSONArrayToStringConvert;

/**
 * Description:
 * Date: 2024/2/14 13:14
 */
public class TShopModel extends SimpleModel {
    private String name;
    private String type;
    private double price;
    private double discount;

    private JSONArray shopImg;

    private String storageId;

    public String getStorageId() {
        return storageId;
    }

    public void setStorageId(String storageId) {
        this.storageId = storageId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public JSONArray getShopImg(){return shopImg;}

    public void setShopImg(JSONArray img) {this.shopImg = img;}
}
